package com.whut.monitor.service;

import com.whut.monitor.model.PatternEntity;
import com.whut.monitor.vo.PageFilter;
import com.whut.monitor.vo.PatternVo;
import com.whut.monitor.vo.Tree;

import java.util.List;

/**
 * Created by CFlower on 2017/11/8.
 */
public interface IPatternService {
    List<PatternVo> dataGrid(PatternVo patte, PageFilter ph);

    Long count(PatternVo patte, PageFilter ph);

    void add(PatternVo patte);

    void delete(Integer id);

    void edit(PatternVo patte);

    List<Tree> tree();

    List<PatternEntity> getPatternByEquipment(Integer equipmentId);
}
